package day4;

class Super{
    protected int test(){
        return 1;
    }
}
class Sub extends Super{
    public int test(){
        return 0;
    }
}
public class Test12 {
    public static void main(String[] args) {
        Super s = new Sub();
        System.out.println(s.test());
    }
}